<template>
  <div>
    <HmForm ref="submit"></HmForm>
    <button @click="submit">提交</button>
  </div>
</template>
 
<script>
import HmForm from "./components/HmForm.vue";
export default {
  components: {
    HmForm,
  },
  data() {
    return {};
  },
  methods: {
    submit() {  
      this.$refs.submit.submit()
    }
  },
};
</script>

<style scoped>
</style>